import request from '@/utils/request'

export default {
    //生成统计数据
    createStatisticsByDate(day) {
        return request({
            url: `/edusta/daily/createStatisticsByDate/${day}`,
            method: 'post'
        })
    },

    showChart(searchObj) {
        return request({
            url: `/edusta/daily/showData/${searchObj.begin}/${searchObj.end}/${searchObj.type}`,
            method: 'get'
        })
    }
}